package com.zxw.flow.service.toc;

import com.zxw.flow.domain.dto.toc.FilePathDTO;
import com.zxw.flow.domain.dto.toc.FlowPathTreeDTO;
import com.zxw.flow.domain.entity.toc.FilePath;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zxw.flow.domain.vo.toc.FilePathVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-08-19
 */
public interface FilePathService extends IService<FilePath> {

    FilePathDTO get(Long id);

    List<FlowPathTreeDTO> getTree();

    FilePath add(FilePathVO filePathVO);

    FilePath init(String userAccount);

    void update(FilePathVO filePathVO);

    void delete(Long id);
}
